import request from '../utils/request';

/**
 * 文件上传相关API
 */
// 上传用户头像
export const uploadPic = data => {
  return request({
    method: 'POST',
    url: '/admin/upload/pic',
    data,
  });
};
